package com.qf.shop.dao;

import com.qf.shop.entity.Orders;
import com.qf.shop.entity.OrdersDetail;

import java.util.List;

public interface OrdersDao {
    int insertOrders(Orders orders);
    void insertOrdersDetail(List<OrdersDetail> ordersDetails);
    List<Orders> selectOrdersByUid(int uid);

    Orders selectOrdersByOid(String oid);
    List<OrdersDetail> selectOrdersDetailByOid(String oid);
    int updateOrders(String oid);
}
